package day0308;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;

public class OisDemo {
    public static void main(String[] args) throws IOException, ClassNotFoundException {
        FileInputStream fis =new FileInputStream("note.txt");
        ObjectInputStream ois =new ObjectInputStream(fis);
//        Student st =(Student) ois.readObject();
//        Student st1 =(Student) ois.readObject();
//        System.out.println(st);
//        System.out.println(st1);
        ois.close();
        System.out.println("完毕");

    }
}
